package org.gitman.agentplatform.ui.actions;

import java.awt.event.ActionEvent;

public class AddAgentAction extends UIAction{

	public AddAgentAction() {
		super("Add");
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		mainFrame.getSimulationPanel().unloadAgent2Edit();
		mainFrame.getSimulationPanel().showDetailsAgentPanel();
		mainFrame.getSimulationPanel().revalidate();
	}

}
